package com.facesdk;

public final class FDFaceProcessor {
	private final static String TAG = "FDFaceProcessor";

	static {
		System.loadLibrary("opencv_java");
		System.loadLibrary("is_facedetect");
		System.loadLibrary("FD_Face");
		FDInit();
	}

	private native static int FDInit();
	public native void FDUinit();

	public native static FaceInfo FDFace(byte[] imageData, int width,
				int height, double fscale, int minw, int minh, int maxw, int maxh);

	public static native byte[] RGB2Gray(int[] rawData,int w,int h);

	public static final double FSCALE=1.1;
	public static final int DEFAULT_MIN_WIDTH=40;
	public static final int DEFAULT_MIN_HEIGHT=40;
//	public static final int DEFAULT_MIN_WIDTH=80;
//	public static final int DEFAULT_MIN_HEIGHT=80;
	
}
